package com.ddtech.business.course.entity;

import com.ddtech.business.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 课程表
 * </p>
 *
 * @author bin_pu
 * @since 2023-02-06
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value = "courseResource", description = "课程资源表")
public class CourseResource extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "章节id")
    private String chapterId;

    @ApiModelProperty(value = "资源名称")
    private String resourceName;

    @ApiModelProperty(value = "资源文件")
    private String resourceFile;

    @ApiModelProperty(value = "资源时长(秒)")
    private Integer classHour;

    @ApiModelProperty(value = "排序号")
    private Integer sort;

    @ApiModelProperty(value = "下载权限(1:可以下载 0:不可以下载)")
    private Integer isDownload;
}
